using UnityEngine;

namespace DG.Tweening
{
    // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleAudio
    public static class DOTweenModuleAudio
    {
        
        #region DG.Tweening.DOTweenModuleAudio.<>c__DisplayClass0_0
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleAudio.<>c__DisplayClass0_0
        private sealed class __c__DisplayClass0_0
        {
            // Fields
            public UnityEngine.AudioSource target;
            
            // Methods
            public __c__DisplayClass0_0()
            {
            
            }
            internal float <DOFade>b__0()
            {
                return this.target.volume;
            }
            internal void <DOFade>b__1(float x)
            {
                this.target.volume = x;
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleAudio.<>c__DisplayClass1_0
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleAudio.<>c__DisplayClass1_0
        private sealed class __c__DisplayClass1_0
        {
            // Fields
            public UnityEngine.AudioSource target;
            
            // Methods
            public __c__DisplayClass1_0()
            {
            
            }
            internal float <DOPitch>b__0()
            {
                return this.target.pitch;
            }
            internal void <DOPitch>b__1(float x)
            {
                this.target.pitch = x;
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleAudio.<>c__DisplayClass2_0
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleAudio.<>c__DisplayClass2_0
        private sealed class __c__DisplayClass2_0
        {
            // Fields
            public UnityEngine.Audio.AudioMixer target;
            public string floatName;
            
            // Methods
            public __c__DisplayClass2_0()
            {
            
            }
            internal float <DOSetFloat>b__0()
            {
                bool val_1 = this.target.GetFloat(name:  this.floatName, value:  null);
                return 0f;
            }
            internal void <DOSetFloat>b__1(float x)
            {
                bool val_1 = this.target.SetFloat(name:  this.floatName, value:  x);
            }
        
        }
        
        #endregion
        
        // Methods
        public static DG.Tweening.Core.TweenerCore<float, float, DG.Tweening.Plugins.Options.FloatOptions> DOFade(UnityEngine.AudioSource target, float endValue, float duration)
        {
            float val_6;
            object val_1 = 536898015;
            val_1 = new System.Object();
            mem[536898031] = target;
            val_6 = 0f;
            if(endValue >= 0)
            {
                    val_6 = endValue;
                if(endValue > 1f)
            {
                    val_6 = 1f;
            }
            
            }
            
            DG.Tweening.Core.DOGetter<System.Single> val_2 = 536873953;
            val_2 = new DG.Tweening.Core.DOGetter<System.Single>(object:  val_1, method:  1610681833);
            DG.Tweening.Core.DOSetter<System.Single> val_3 = 536873995;
            val_3 = new DG.Tweening.Core.DOSetter<System.Single>(object:  val_1, method:  1610681835);
            DG.Tweening.Core.TweenerCore<System.Single, System.Single, DG.Tweening.Plugins.Options.FloatOptions> val_4 = DG.Tweening.DOTween.To(getter:  val_2, setter:  val_3, endValue:  val_6, duration:  duration);
            Unknown val_5 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_4, target:  mem[536898031]);
            return val_4;
        }
        public static DG.Tweening.Core.TweenerCore<float, float, DG.Tweening.Plugins.Options.FloatOptions> DOPitch(UnityEngine.AudioSource target, float endValue, float duration)
        {
            object val_1 = 536898017;
            val_1 = new System.Object();
            mem[536898033] = target;
            DG.Tweening.Core.DOGetter<System.Single> val_2 = 536873953;
            val_2 = new DG.Tweening.Core.DOGetter<System.Single>(object:  val_1, method:  1610681839);
            DG.Tweening.Core.DOSetter<System.Single> val_3 = 536873995;
            val_3 = new DG.Tweening.Core.DOSetter<System.Single>(object:  val_1, method:  1610681841);
            DG.Tweening.Core.TweenerCore<System.Single, System.Single, DG.Tweening.Plugins.Options.FloatOptions> val_4 = DG.Tweening.DOTween.To(getter:  val_2, setter:  val_3, endValue:  endValue, duration:  duration);
            Unknown val_5 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_4, target:  mem[536898033]);
            return val_4;
        }
        public static DG.Tweening.Core.TweenerCore<float, float, DG.Tweening.Plugins.Options.FloatOptions> DOSetFloat(UnityEngine.Audio.AudioMixer target, string floatName, float endValue, float duration)
        {
            object val_1 = 536898019;
            val_1 = new System.Object();
            mem[536898035] = target;
            mem[536898043] = floatName;
            DG.Tweening.Core.DOGetter<System.Single> val_2 = 536873953;
            val_2 = new DG.Tweening.Core.DOGetter<System.Single>(object:  val_1, method:  1610681845);
            DG.Tweening.Core.DOSetter<System.Single> val_3 = 536873995;
            val_3 = new DG.Tweening.Core.DOSetter<System.Single>(object:  val_1, method:  1610681847);
            DG.Tweening.Core.TweenerCore<System.Single, System.Single, DG.Tweening.Plugins.Options.FloatOptions> val_4 = DG.Tweening.DOTween.To(getter:  val_2, setter:  val_3, endValue:  endValue, duration:  duration);
            Unknown val_5 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_4, target:  mem[536898035]);
            return val_4;
        }
        public static int DOComplete(UnityEngine.Audio.AudioMixer target, bool withCallbacks = False)
        {
            withCallbacks = withCallbacks;
            return DG.Tweening.DOTween.Complete(targetOrId:  target, withCallbacks:  withCallbacks);
        }
        public static int DOKill(UnityEngine.Audio.AudioMixer target, bool complete = False)
        {
            complete = complete;
            return DG.Tweening.DOTween.Kill(targetOrId:  target, complete:  complete);
        }
        public static int DOFlip(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.Flip(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.Flip(targetOrId:  target);
        }
        public static int DOGoto(UnityEngine.Audio.AudioMixer target, float to, bool andPlay = False)
        {
            andPlay = andPlay;
            return DG.Tweening.DOTween.Goto(targetOrId:  target, to:  to, andPlay:  andPlay);
        }
        public static int DOPause(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.Pause(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.Pause(targetOrId:  target);
        }
        public static int DOPlay(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.Play(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.Play(targetOrId:  target);
        }
        public static int DOPlayBackwards(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.PlayBackwards(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.PlayBackwards(targetOrId:  target);
        }
        public static int DOPlayForward(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.PlayForward(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.PlayForward(targetOrId:  target);
        }
        public static int DORestart(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.Restart(targetOrId:  target, includeDelay:  true, changeDelayTo:  -1f);
            }
            
            return DG.Tweening.DOTween.Restart(targetOrId:  target, includeDelay:  true, changeDelayTo:  -1f);
        }
        public static int DORewind(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.Rewind(targetOrId:  target, includeDelay:  true);
            }
            
            return DG.Tweening.DOTween.Rewind(targetOrId:  target, includeDelay:  true);
        }
        public static int DOSmoothRewind(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.SmoothRewind(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.SmoothRewind(targetOrId:  target);
        }
        public static int DOTogglePause(UnityEngine.Audio.AudioMixer target)
        {
            if(mem[536884837] != 0)
            {
                    return DG.Tweening.DOTween.TogglePause(targetOrId:  target);
            }
            
            return DG.Tweening.DOTween.TogglePause(targetOrId:  target);
        }
    
    }

}
